home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2006 December / PCWDEC06.iso / Software / Trial / Paint Shop Pro XI / Data1.cab / _B5BAB0EB3E7A492CB4FF93587AF707ED < prev    next >
Encoding:
Text File  |  2006-08-04  |  850 b   |  27 lines

  1. from PSPApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': u'Corel Corporation',
  6.         'Copyright': u'Copyright (c) 2003-2004 Corel Corporation  All rights reserved.',
  7.         'Description': '',
  8.         'Host': 'Paint Shop Pro',
  9.         'Host Version': '8.00'
  10.         }
  11.  
  12. def Preset_NewFile():
  13.     return {
  14.         'Width': 3.500000, 
  15.         'Height': 5.000000, 
  16.         'ColorDepth': App.Constants.Colordepth.SixteenMillionColor, 
  17.         'DimensionUnits': App.Constants.DimensionType.Inches, 
  18.         'ResolutionUnits': App.Constants.ResolutionUnits.PixelsPerIn, 
  19.         'Resolution': 300.000000, 
  20.         'Transparent': App.Constants.Boolean.true, 
  21.         'VectorBackground': App.Constants.Boolean.false
  22.         }
  23.  
  24. def Do(Environment):
  25.     App.Do( Environment, 'NewFile',         Preset_NewFile())
  26.  
  27.